﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Settings
{
    class Setting
    {
        public static string ConnectionString
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["MSSQLConnection"].ConnectionString;
            }
        }

        public static int PageSize
        {
            get
            {
                return int.Parse(System.Configuration.ConfigurationManager.AppSettings["PageSize"]);
            }
        }
    }
}
